from django.core.mail import send_mail
from django.conf import settings

msg = '<a href="http://www.itcast.cn/subject/pythonzly/index.shtml" target="_blank">点击激活</a>'

send_mail('注册激活', '', settings.EMAIL_FROM, ['itcast88@163.com','baichuangege@163.com'], html_message=msg)
print("1")
send_mail('注册激活','', settings.EMAIL_FROM,['itcast88@163.com','baichuangege@163.com'],html_message=msg)

print("2")